/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Client;

import java.util.Vector;

/**
 *
 * @author cyrille
 */
public class AttenteMessage extends Thread{
    private Connection connection;
    public AttenteMessage(Connection connection){
        this.connection=connection;
    }
    public void run(){
        System.out.println("youpi");
        while(this.connection.getEtat()){
            System.out.println("in while");
             this.connection.traiterRetour();
        }
    }


}
